<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script type="text/javascript">
		/*this*/
			var name="全局";
			function fun(){
				console.log(this.name);
			}
			var obj={
				name:"陈民",
				sayName:fun
			}
			var obj2={
				name:"民陈",
				sayName:fun
			}
			fun();
			obj.sayName();
			obj2.sayName();
		/*封装实参的对象arguments*/
			function fun2(){
				console.log(arguments[0]);
				console.log(arguments.length);
			}
			fun2("hello",true);
		</script>
	</head>
	<body>
	</body>
</html>
